package com.eascs.banknet.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 授信详情表
 * @author Administrator
 *
 */
@Entity
@Table(name = "o2o_credit_detail")
public class CreditDetailEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	@Id
	private String id;
	
	@Column(name = "credit_id")
	private String creditId;
	
	@Column(name = "seq_no")
	private String seqNo;
	
	@Column(name = "loan_type")
	private String loanType;	//贷款种类
	
	private String status;		//账户状态
	
	@Column(name = "loan_amt")
	private BigDecimal loanAmt;	//贷款金额
	
	@Column(name = "remain_amt")
	private BigDecimal remainAmt;//本金余额
	
	@Column(name = "loan_end_date")
	private Date loanEndDate;	//贷款到期日
	
	@Column(name = "repay_amt_of_month")
	private BigDecimal repayAmtOfMonth;//本月应还款
	
	@Column(name = "org_type")
	private String orgType;		//机构类型
	
	@Column(name = "guar_style")
	private String guarStyle;	//担保方式
	
	@Column(name = "five_class")
	private String fiveClass;	//五级分类
	
	private String islock;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreditId() {
		return creditId;
	}

	public void setCreditId(String creditId) {
		this.creditId = creditId;
	}

	public String getSeqNo() {
		return seqNo;
	}

	public void setSeqNo(String seqNo) {
		this.seqNo = seqNo;
	}

	public String getLoanType() {
		return loanType;
	}

	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public BigDecimal getLoanAmt() {
		return loanAmt;
	}

	public void setLoanAmt(BigDecimal loanAmt) {
		this.loanAmt = loanAmt;
	}

	public BigDecimal getRemainAmt() {
		return remainAmt;
	}

	public void setRemainAmt(BigDecimal remainAmt) {
		this.remainAmt = remainAmt;
	}

	public Date getLoanEndDate() {
		return loanEndDate;
	}

	public void setLoanEndDate(Date loanEndDate) {
		this.loanEndDate = loanEndDate;
	}

	public BigDecimal getRepayAmtOfMonth() {
		return repayAmtOfMonth;
	}

	public void setRepayAmtOfMonth(BigDecimal repayAmtOfMonth) {
		this.repayAmtOfMonth = repayAmtOfMonth;
	}

	public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getGuarStyle() {
		return guarStyle;
	}

	public void setGuarStyle(String guarStyle) {
		this.guarStyle = guarStyle;
	}

	public String getFiveClass() {
		return fiveClass;
	}

	public void setFiveClass(String fiveClass) {
		this.fiveClass = fiveClass;
	}

	public String getIslock() {
		return islock;
	}

	public void setIslock(String islock) {
		this.islock = islock;
	}		
	
	
}
